import java.awt.Color;

public class GamePiece 
{
	private Color color; 
	private GridLocation location;
	
	public GamePiece(Color c, GridLocation loc)
	{
		color = c; 
		location = loc; 
	}
	
	public Color getColor()
	{
		return color; 
	}
	
	public GridLocation getLocation()
	{
		return location; 
	}
	
	public void setColor(Color c)
	{
		color = c; 
	}

	public boolean equals(GamePiece other)
	{
		return (color.equals(other.getColor()));
	}
	
	
	
}
